package com.igeekhome.mapper;

import com.igeekhome.pojo.SWarehouse;
import com.igeekhome.pojo.SWarehouseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SWarehouseMapper {

    List<SWarehouse> selectByAll();

    int countByExample(SWarehouseExample example);

    int deleteByExample(SWarehouseExample example);

    int deleteByPrimaryKey(Integer warehouseId);

    int insert(SWarehouse record);

    int insertSelective(SWarehouse record);

    List<SWarehouse> selectByExample(SWarehouseExample example);

    SWarehouse selectByPrimaryKey(Integer warehouseId);

    int updateByExampleSelective(@Param("record") SWarehouse record, @Param("example") SWarehouseExample example);

    int updateByExample(@Param("record") SWarehouse record, @Param("example") SWarehouseExample example);

    int updateByPrimaryKeySelective(SWarehouse record);

    int updateByPrimaryKey(SWarehouse record);
}